#ifndef GRAPHWIDGETLINE_H
#define GRAPHWIDGETLINE_H

#include <QPointF>
#include <QPen>
#include <QVector>
#include <QColor>

#include "GraphWidgetObject.h"

class GraphWidgetLine : public GraphWidgetObject
{
public:
    GraphWidgetLine();
    GraphWidgetLine(const GraphWidgetLine& gwl);
    GraphWidgetLine(QVector<int> yValues, double xStart = 0, double xInterval = 1, QColor color = Qt::white, float width = 1.0f, QString title = QString());
    GraphWidgetLine(QVector<float> yValues, double xStart = 0, double xInterval = 1, QColor color = Qt::white, float width = 1.0f, QString title = QString());
    GraphWidgetLine(QVector<double> yValues, double xStart = 0, double xInterval = 1, QColor color = Qt::white, float width = 1.0f, QString title = QString());
    GraphWidgetLine(QVector<QPointF> values, QColor color = Qt::white, float width = 1.0f, QString title = QString());
    GraphWidgetLine(QLine newLine, QColor color = Qt::white, float width = 1.0f, QString title = QString());
    GraphWidgetLine(QLineF newLine, QColor color = Qt::white, float width = 1.0f, QString title = QString());

    void draw(QPen pen);

};

#endif // GRAPHWIDGETLINE_H
